package com.atguigu.ioc.service.impl;

import com.atguigu.ioc.dao.TestDao;
import com.atguigu.ioc.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Date:2020/9/24
 * Author:ybc
 * Description:
 */
//@Service("testService")
@Service
public class TestServiceImpl implements TestService {

    @Autowired
    private TestDao testDao;

    @Override
    public void addUser() {
        testDao.addUser();
    }

}
